package com.mall.product.domain.biz;

import com.mall.common.annotation.Excel;
import com.mall.product.domain.entity.ProCustomRecord;
import com.mall.product.domain.entity.ProCustomRecordValue;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Created by zhonglin on 2020/5/8.
 */
public class ProCustomRecordBiz
    extends ProCustomRecord {

  @Excel(name = "商品类型名称")
  private String typeName;

  private List<ProCustomRecordValue> customRecordValues;

  public String getTypeName() {

    return typeName;
  }

  public void setTypeName(String typeName) {

    this.typeName = typeName;
  }

  public List<ProCustomRecordValue> getCustomRecordValues() {

    return customRecordValues;
  }

  public void setCustomRecordValues(List<ProCustomRecordValue> customRecordValues) {

    this.customRecordValues = customRecordValues;
  }

  @Override
  public String toString() {

    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("customRecordId", getCustomRecordId())
                                                                    .append("typeId", getTypeId())
                                                                    .append("name", getName())
                                                                    .append("type", getType())
                                                                    .append("status", getStatus())
                                                                    .append("delFlag", getDelFlag())
                                                                    .append("createBy", getCreateBy())
                                                                    .append("createTime", getCreateTime())
                                                                    .append("updateBy", getUpdateBy())
                                                                    .append("updateTime", getUpdateTime())
                                                                    .append("remark", getRemark())
                                                                    .append("typeName", getTypeName())
                                                                    .append("customRecordValues", getCustomRecordValues())
                                                                    .toString();
  }

}
